package com.dongdong.service.impl;

import com.dongdong.mapper.TbGoodsDescMapper;
import com.dongdong.pojo.TbGoodsDesc;
import com.dongdong.service.GoodsDescService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
@com.alibaba.dubbo.config.annotation.Service
public class GoodsDescServiceImpl implements GoodsDescService {

    @Autowired
    private TbGoodsDescMapper goodsDescMapper;
    @Override
    public TbGoodsDesc selectId(Long goodsId) {
        TbGoodsDesc tbGoodsDesc = goodsDescMapper.selectByPrimaryKey(goodsId);
        return tbGoodsDesc;
    }
}
